package com.qf.qfwemedia;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.qf.qfwemedia.mapper")
//开启异步支持
@EnableAsync
@EnableScheduling
public class QfWemediaApplication {

    public static void main(String[] args) {
        SpringApplication.run(QfWemediaApplication.class, args);
    }

}
